<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../css/fontawesome-free-5.7.2-web/css/all.css">
    <link rel="stylesheet" href="../css/jquery.mobile-1.4.5.min.css">
    <link rel="stylesheet" href="../css/jquery.mobile.ui.css">
    <link rel="stylesheet" href="../css/jqm-ui-demos.css">
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.mobile-1.4.5.js"></script>
  </head>
  <body>

    <div data-role="page" data-theme="a">
      <div data-role="header" data-position="fixed" data-tap-toggle="false" class="navbar">
        <div class="nav">
          <a data-ajax="false" href="../menus.html" class="nav-link"><i class="fas fa-chevron-left"></i> 首页</a>
          <h3 class="nav-title">Horizontal view</h3>
        </div>
      </div>
      <div role="main" class="ui-content">

        <div class="demo">
          <h5>横向滚动视图</h5>
          <p><span class="badge badge-warning badge-rounded">提示</span> 试着左右滚动下方视图吧！</p>
          
          <div class="horizontal-view">
            <div class="card item">
              <div class="card-header">
                <h3>当你老了</h3>
              </div>
              <div class="card-content">
                <img src="../images/pic1.jpg">
                <p>当你老了，头发白了</p>
                <p>炉火旁打盹，回忆青春</p>
              </div>
            </div><!-- /.card -->
            <div class="card item">
              <div class="card-header">
                <h3>你要的全拿走</h3>
              </div>
              <div class="card-content">
                <img src="../images/pic2.jpg">
                <p>你要的全拿走</p>
                <p>剩下的我承受</p>
              </div>
            </div><!-- /.card -->
            <div class="card item">
              <div class="card-header">
                <h3>你要的全拿走</h3>
              </div>
              <div class="card-content">
                <img src="../images/pic3.jpg">
                <p>你要的全拿走</p>
                <p>剩下的我承受</p>
              </div>
            </div><!-- /.card -->
            <div class="card item">
              <div class="card-header">
                <h3>你要的全拿走</h3>
              </div>
              <div class="card-content">
                <img src="../images/pic4.jpg">
              </div>
            </div><!-- /.card -->
          </div>
        </div>

        <div class="demo">
          <h5>纯图片案例</h5>
          <div class="horizontal-view">
            <div class="item">
              <img src="../images/pic4.jpg" style="width: 100%;">
            </div>
            <div class="item">
              <img src="../images/pic3.jpg" style="width: 100%;">
            </div>
            <div class="item">
              <img src="../images/pic2.jpg" style="width: 100%;">
            </div>
            <div class="item">
              <img src="../images/pic1.jpg" style="width: 100%;">
            </div>
          </div>

        </div>



          

      </div>
    </div>

  </body>
</html>